﻿' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowAPI.Item

    ''' <summary>
    ''' A class containing information about an item's source.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class ItemSource

        ''' <summary>
        ''' The ID number of the item's source.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>For example, if this is sold by a vendor, this is the NPC ID.  Or, if it's a quest reward, this is the Quest ID.</remarks>
        Public Property SourceID As Integer

        ''' <summary>
        ''' The type of item source.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property SourceType As String

        Protected Friend Sub New(intSourceID As Integer, strSourceType As String)
            SourceID = intSourceID
            SourceType = strSourceType
        End Sub

    End Class

End Namespace
